//------------------------------------------------------------------------------
// <pcdd-entitiy>
//     系统管理业务类库
//     错误日志业务对象
// </pcdd-entitiy>
//------------------------------------------------------------------------------

using CL.Enum.Common;
using CL.SystemInfo.DAL;
using CL.SystemInfo.Entity;

namespace CL.SystemInfo.BLL
{

    /// <summary>
    /// ErrorLogBLL 业务
    /// </summary>
    public class ErrorLogBLL
    {
        ErrorLogDAL dal = new ErrorLogDAL(DbConnectionEnum.CaileSystem);

        /// <summary>
        /// 插入错误日志
        /// </summary>
        /// <param name="entity">错误日志对象</param>
        /// <returns></returns>
        public int InsertEntity(ErrorLogEntity entity)
        {
            return dal.InsertEntity(entity);
        }
    }
}
